/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.designPatterns.abstractFactory;

/**
 *
 * @author minga
 */
public class MannualFactory extends SpeciesFactory{

    @Override
    public Animal getAnimal(String type) {
      if("dog".equals(type))
          return new Dog();
      else
          return new Cat();
    }
    
}
